<template>
    <div>
        <section ref="print" class="recordImg" id="printRecord">
            <img src="../assets/logo.png" alt="">
        </section>
        <span slot="footer" class="dialog-footer">
                <el-button @click="recordVisible = false">取 消</el-button>
                <el-button type="primary" @click="PrintRow">打 印</el-button>
        </span>
    </div>
</template>
<script>
    export default {
        data () {
            return {

            }
        },
        methods:{
            //打印
            PrintRow(index, row){
                this.$print(this.$refs.print) // 使用
            },
    }
    }
</script>